<div class="page">
    <div class="reg_input">
    <div><h3>Registrasi Akun Admin</h3></div>

    <table>
        <?php echo form_open_multipart('admin/register'); ?>
        <tr>
            <td id="text_" style="width: 200px;">Username*</td>
            <td ><input  type="text" name="username" value="<?php echo $submit_data['username']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('nama'); ?></td>
        </tr>
        <tr>
            <td id="text_">Email* </td>
            <td><input  type="text" name="email" value="<?php echo $submit_data['email']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('email'); ?></td>
        </tr>
        <tr>
            <td id="text_">Password* </td>
            <td><input  type="password" name="pass" value="" /></td>
            <td class="eror_td"><?php echo form_error('pass'); ?></td>
        </tr>

        <tr>
            <td id="text_">No. HP* </td>
            <td><input  type="text" name="nohp" value="<?php echo $submit_data['nohp']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('nohp'); ?></td>
        </tr>
        
        <tr>
            <td id="text_">Alamat* </td>
            <td><textarea  type="text" name="alamat" value="<?php echo $submit_data['alamat']; ?>" ></textarea></td>
            <td class="eror_td"><?php echo form_error('alamat'); ?></td>
        </tr>        
        <tr>
            <td>Foto</td>
            <td><input style="width: 250px" type="file" name="userfile"/></td>
            <td class="eror_td"></td>
        </tr>
        <tr>
            <td></td>
            <td><input  type="submit" value="Daftar"/></td>
            <td class="eror_td"></td>
        </tr>
    <?php form_close() ?>
    </table>
    </div>
</div>

